const path = require('path')
const template = require('art-template');


const order = {"name":"BTC-USDT","ordId":"406502014208851969","buySize":"0.00007961","balance":"421.28","price":"37683.9","amount":3,"date":"2022-01-26 17:33:52"}
const system = { totalAmount: 6,totalCount:10,buyInterval: '8.64minute',msg: '系统运行正常'}

const result = template(path.join(__dirname,"../service/assert/orderSuccess.html"),{order,system})

console.log(result)